const mongoose = require('mongoose');

mongoose.connect('mongodb+srv://YANGZHANGFU:FU123123@zhangfu-database.5i5er.mongodb.net/?retryWrites=true&w=majority&appName=ZHANGFU-DATABASE/Hotel')
    .then(() => {
        console.log('OK');

    })
    .catch((err) => {
        console.log('NO');
    })




module.exports = mongoose;